package com.baomibing.flow.json;

import com.baomibing.flow.constant.NodeTypeEnum;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * JBase
 *
 * @author frog 2023/10/24 09:00
 * @version 1.0.0
 **/
@Accessors(chain = true)
public class JBase {

    @Getter
    protected NodeTypeEnum nodeType;

//    @Getter @Setter
//    protected String id;



    @Getter @Setter
    protected String nodeId;


    @Setter @Getter
    protected String name;

    @Setter @Getter
    protected String icon;

    @Setter @Getter
    protected String position;

    @Setter @Getter
    protected String measured;

    @Setter @Getter
    protected String lpaths;

    @Setter @Getter
    protected String rpaths;

    @Setter @Getter
    protected String variables;

    @Setter @Getter
    Boolean deleteable = Boolean.TRUE;

    @Setter @Getter
    Boolean selected = Boolean.FALSE;

    @Setter @Getter
    Boolean dragging = Boolean.FALSE;

    @Setter @Getter
    protected String description;

    @Setter @Getter
    protected String style;

    @Setter @Getter
    protected Boolean passed = Boolean.FALSE;
}
